//
//  NSArray+Plist.h
//  JQKit
//
//  Created by JQZ on 2018/1/9.
//  Copyright © 2018年 JQZ. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSArray (Plist)

/**
 *  Property list data to NSArray
 *
 *  @param plistData NSData
 *  @param error 错误返回
 */
+ (NSArray *)arrayFromPlistData:(NSData *)plistData error:(out NSError **)error;

/**
 *  NSArray to property list data
 *
 *  @param error 错误返回
 */
- (NSData *)propertyListDataWithError:(out NSError **)error;

@end
